Index: Doc/howto/logging-cookbook.rst IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- Doc/howto/logging-cookbook.rst (revision 89909:7761b3dff2e8490f761c61a0bb34007725727422) +++ Doc/howto/logging-cookbook.rst (revision 89909+:7761b3dff2e8+) @@ -416,7 +416,7 @@ Simple TCP socket-based logging receiver suitable for testing. """ - allow_reuse_address = 1 + allow_reuse_address = True def __init__(self, host='localhost', port=logging.handlers.DEFAULT_TCP_LOGGING_PORT, Index: Doc/tutorial/interpreter.rst IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- Doc/tutorial/interpreter.rst (revision 89909:7761b3dff2e8490f761c61a0bb34007725727422) +++ Doc/tutorial/interpreter.rst (revision 89909+:7761b3dff2e8+) @@ -106,7 +106,7 @@ Continuation lines are needed when entering a multi-line construct. As an example, take a look at this :keyword:`if` statement:: - >>> the_world_is_flat = 1 + >>> the_world_is_flat = True >>> if the_world_is_flat: ... print("Be careful not to fall off!") ... Index: Doc/tutorial/introduction.rst IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- Doc/tutorial/introduction.rst (revision 89909:7761b3dff2e8490f761c61a0bb34007725727422) +++ Doc/tutorial/introduction.rst (revision 89909+:7761b3dff2e8+) @@ -1,4 +1,4 @@ -.. _tut-informal: +.. _tut-informal: ********************************** An Informal Introduction to Python @@ -22,7 +22,7 @@ Some examples:: # this is the first comment - spam = 1 # and this is the second comment + spam = True # and this is the second comment # ... and now a third! text = "# This is not a comment because it's inside quotes."